<html>
<head><title>eBook helper</title></head>
<script type="text/javascript">

function doStart(o){
	chrome.tabs.getSelected(null, function(tab) { 
	  chrome.tabs.sendRequest(tab.id, {startTag: o}, function(response) {}); 
	});
}

</script>

<style>

body{
	width: 200;
}

.clear { /* generic container (i.e. div) for floating buttons */
    overflow: hidden;
    width: 100%;
}

a.button {
    background: transparent url('bg_button_a.gif') no-repeat scroll top right;
    color: #444;
    display: block;
    float: left;
    font: normal 12px arial, sans-serif;
    height: 24px;
    margin-right: 6px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none;
}

a.button span {
    background: transparent url('bg_button_span.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
}

a.button:active {
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}

a.button:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px; /* push text down 1px */
}

</style>


<body>

<a class="button" href="javascript:doStart(true)"><span>Enable</span></a>
<a class="button" href="javascript:doStart(false)"><span>Disable</span></a>
<br/><br/>
<div align="right"><a target="blank" href="https://chrome.google.com/extensions/detail/pnikbkenjkkgdmjohlfaoaoloihbheei"><font size="2" color="blue">Check new version/Suggestion</font></a></div>
<div align="center"><font size="1" color="black">ver 0.3.3</font></div>
</body>
</html>
